table.FIELD_NAME_GET Function

Syntax

Field_Name_List as C = Field_Name_Get()

Description

Retrieve field names in a cr-lf separated list.

Discussion

The <TBL>.FIELD_NAME_GET() method returns the names of the fields in a table.

Example

dim tbl as P
tbl = table.open("customer")
? tbl.field_name_get()
= Customer_id
Firstname
Lastname
Company
Phone
Fax
Bill_address_1
Bill_address_2
Bill_city
Bill_state_region
Bill_postal_code
Bill_country
Ship_address_1
Ship_address_2
Ship_city
Ship_state_region
Ship_postal_code
Ship_country
Ship_same
Email
Rtfmemo

See Also